import request from '@/utils/request'
// 按类型 
export function typeforuserapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/jc_count_by_type_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 按公司 
export function comforuserapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/jc_count_by_com_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 工商变更 
export function changelistapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_change_list_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function changeuserapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_change_count_by_type_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}

// 司法 
export function sffxyjapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_sffx_yj_list',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function sfcountapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_sffx_yj_count',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 经营 
export function jyfxyjapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_jyfx_yj_list',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function jycountapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_yjfx_yj_count',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 知识产权 
export function propertyapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/intellectual_property_list_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function cqcountapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/intellectual_property_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 招投标 
export function bidapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_bid_list_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function zbcountapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/company_bid_count_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 融资 
export function rzapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/jc_rz_list_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
export function rzcountapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/jc_rz_for_user',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
// 我收藏的企业 
export function collectlistapi(userId) {
  return request({
    // url: '/scg/enterprise/user/collect/list?userId='+id,
	url: '/scg/enterprise/user/collect/list',
    method: 'get',
	params: {
		userId
	},
	defaultFromData:true
  })
}
//  我收藏的企业搜索
export function addsearchapi(data) {
  return request({
    url: '/scg/c10yapi/choreography/unified/path/api/user_company_add_search',
    method: 'post',
	data: data,
	defaultFromData:true
  })
}
